home *** CD-ROM | disk | FTP | other *** search
- pinboard.onFirefoxLoad = function(event) {
- document.getElementById("contentAreaContextMenu")
- .addEventListener("popupshowing", function (e){ pinboard.showFirefoxContextMenu(e); }, false);
- };
-
- pinboard.showFirefoxContextMenu = function(event) {
- // show or hide the menuitem based on what the context menu is on
- document.getElementById("context-pinboard").hidden = !gContextMenu.onLink;
- };
-
- window.addEventListener("load", anonymouse.onFirefoxLoad, false);
-